﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("GoodsMoveItem", "GoodsMoveItem", new string[] { "SEQNO" })]
    [KnownType(typeof(GoodsMoveItem))]
    public class GoodsMoveItem : MB.Orm.Common.BaseModel
    {
        public GoodsMoveItem()
        {
        }
        private string _GOODSMOVEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSMOVEID", System.Data.DbType.String)]
        public string GOODSMOVEID
        {
            get { return _GOODSMOVEID; }
            set { _GOODSMOVEID = value; }
        }

        private int _SEQNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SEQNO", System.Data.DbType.Int32)]
        public int SEQNO
        {
            get { return _SEQNO; }
            set { _SEQNO = value; }
        }

        private string _GOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSBATCHCODE", System.Data.DbType.String)]
        public string GOODSBATCHCODE
        {
            get { return _GOODSBATCHCODE; }
            set { _GOODSBATCHCODE = value; }
        }

        private int _FROMLOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FROMLOCATIONID", System.Data.DbType.Int32)]
        public int FROMLOCATIONID
        {
            get { return _FROMLOCATIONID; }
            set { _FROMLOCATIONID = value; }
        }

        private string _FROMLOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FROMLOCATIONCODE", System.Data.DbType.String)]
        public string FROMLOCATIONCODE
        {
            get { return _FROMLOCATIONCODE; }
            set { _FROMLOCATIONCODE = value; }
        }

        private int _TOLOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TOLOCATIONID", System.Data.DbType.Int32)]
        public int TOLOCATIONID
        {
            get { return _TOLOCATIONID; }
            set { _TOLOCATIONID = value; }
        }

        private string _TOLOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TOLOCATIONCODE", System.Data.DbType.String)]
        public string TOLOCATIONCODE
        {
            get { return _TOLOCATIONCODE; }
            set { _TOLOCATIONCODE = value; }
        }

        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public decimal QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }

        private int? _OFFSHELVESID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OFFSHELVESID", System.Data.DbType.Int32)]
        public int? OFFSHELVESID
        {
            get { return _OFFSHELVESID; }
            set { _OFFSHELVESID = value; }
        }
    }
}
